package com.itheima.principles.InterfaceSegregation.after;

//只需要实现自己对应的接口即可
public class ItcastSafetyDoor implements AntiTheft,Fireproof {
    public void antiTheft() {
        System.out.println("防盗");
    }

    public void fireproof() {
        System.out.println("防火");
    }
}
